import request from '@/utils/request'

// 通过快递单号和快递公司筛选包裹
export function presentationlist(data) {
  return request({
    url: '/base/manageDeliveryDocuments/queryExpressList',
    method: 'post',
    data: data
  })
}

// 添加快递交单
export function addPresentation(data) {
  return request({
    url: '/base/manageDeliveryDocuments/addSignDelivery',
    method: 'post',
    data: data
  })
}

// 删除快递交单
export function delPresentation(id) {
  return request({
    url: '/base/manageDeliveryDocuments/delSignedDeliveryById/' + id,
    method: 'delete'
  })
}

// 导入
export function importPresentation(data) {
  return request({
    url: '/base/manageDeliveryDocuments/importData',
    method: 'put',
    headers: { 'Content-Type': 'multipart/form-data' },
    data
  })
}



